<?php
    
	include_once("Model/Modeldonor.php");  
      
    class Controller {  
    	
         public $modeldonor;   
      
         public function __construct()  
         {  
              $this->modeldonor = new Modeldonor();  
         }   
      
         public function invoke()  
         {  
								
         		$this->modeldonor->header();
				$this->modeldonor->top_menu_donor();
				$array_output = $this->modeldonor->viewhistory();
				
				$result = $array_output[0];
				$row = $array_output[1];
				
				include "View/donorView.php";
				
				$this->modeldonor->footer();
         }  
    }  
?>